# Uncomment the next line to define a global platform for your project
platform :ios, '13.0'

def defaultPods
  pod 'Alamofire', '5.4.4' # 网络库
  pod 'SwiftyJSON' # JSON解析库
  pod 'HandyJSON' # JSON解析库
  pod 'SwifterSwift' # swift工具库
end

target 'Moonlight' do
  # Comment the next line if you don't want to use dynamic frameworks
  use_frameworks!
  
  defaultPods
  pod 'SnapKit' # 布局约束库
  pod 'MJRefresh' # 刷新库
  pod 'IQKeyboardManagerSwift' # 键盘管理库
  pod 'SDWebImage' # 图片加载库
  pod 'DZNEmptyDataSet' # 空数据
  pod 'LXFProtocolTool/LXFEmptyDataSetable', :modular_headers => true # 空数据协议
  pod 'BRPickerView' # 选择器库
  pod 'ESTabBarController-swift' # tabBar管理库
  pod 'EachNavigationBar'
  pod 'CHIPageControl' # 小指示库
  pod 'SVProgressHUD' # HUD 提示库
  pod 'JXPagingView/Paging' # 页面管理库
  pod 'JXSegmentedView' # 页面管理库
  pod 'zhPopupController' # popvc 提示库
  
  # Pods for Moonlight
  # 添加微信支付SDK的依赖
#  pod 'WechatOpenSDK'
  # 添加支付宝SDK的依赖
#  pod 'AlipaySDK-iOS'

  pod 'Masonry'
  
end


post_install do |installer|
  installer.pods_project.targets.each do |target|
    target.build_configurations.each do |config|
        config.build_settings['EXPANDED_CODE_SIGN_IDENTITY'] = ""
        config.build_settings['CODE_SIGNING_REQUIRED'] = "NO"
        config.build_settings['CODE_SIGNING_ALLOWED'] = "NO"
        config.build_settings['ENABLE_BITCODE'] = "NO"
        config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '13.0'
        config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"
    end
  end
end

